package com.vip.jwt.service;

import com.vip.jwt.entity.Role;
import com.vip.jwt.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户角色关联表 服务类
 * </p>
 *
 * @author vip
 * @since 2021-05-04
 */
public interface UserRoleService extends IService<UserRole> {

    int deleteByUserId(String userId);

    List<Role> findByUserId(String userId);

}
